home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows 95 API Bible
/
Windows 95 API Bible 3 Disc Set.iso
/
Win32 API Bible Book 3 of 3
/
CHAPTE15
/
DEVCAPS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-07-09
|
705b
|
28 lines
#include <windows.h>
#if defined (WIN32)
#define IS_WIN32 TRUE
#else
#define IS_WIN32 FALSE
#endif
#define IS_NT IS_WIN32 && (BOOL)(GetVersion() < 0x80000000)
#define IS_WIN32S IS_WIN32 && (BOOL)(!(IS_NT) && (LOBYTE(LOWORD(GetVersion()))<4))
#define IS_WIN95 (BOOL)(!(IS_NT) && !(IS_WIN32S)) && IS_WIN32
#define IDM_EXIT 100
#define IDM_TEST 200
#define IDM_ON 201
#define IDM_OFF 202
#define IDM_SENDSYSEXCL 203
#define IDM_ABOUT 300
#define DLG_VERFIRST 400
#define DLG_VERLAST 404
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK About (HWND, UINT, WPARAM, LPARAM);